package com.xing.java8test;

/**
 * Author: linjx
 * Date: 2018/7/31
 */
public class Test {

    public void test1(){
        try {

            System.out.println("----------");
            test2();
        }catch (Exception e) {

        }
    }

    public void test2() {
        int i = 1/0;
        System.out.println(i);
    }

    public static void main(String[] args) {
        new Test().test1();
    }
}
